docker run -d \
###
 # @Author: Logan.Li
 # @Gitee: https://gitee.com/attacker
 # @email: admin@attacker.club
 # @Date: 2025-01-03 12:57:46
 # @LastEditTime: 2025-01-18 23:41:38
 # @Description: 
 # https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker
##
# grafana:9.4.0
# docker run -d --name=grafana  --restart unless-stopped  --volume /Users/loganli/docker_data:/var/lib/grafana  -p 3000:3000 grafana/grafana-oss
# 

#grafana/grafana-enterprise 企业版
#grafana/grafana-oss 开源版
mkdir data
docker run -d -p 3000:3000 --name=grafana \
--restart unless-stopped \
--user "$(id -u)" \
--volume "$PWD/data:/var/lib/grafana" \
grafana/grafana-oss